package com.fujica.invoicing.config;

/**
 * @Enum StatusConfig
 * @Description TODO   状态配置枚举类
 * @Author admin
 * @Date 2020/8/11 15:18
 * @Version 1.0
 **/
public enum StatusConfig {

    OK(200),
    SERVER_ERROR(500),
    GRAMMAR_ERROR(400),
    //  .......
    ;
    private Integer statusCode;

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    StatusConfig(Integer statusCode) {
        this.statusCode = statusCode;
    }
}
